package kr.saeildamil.androidstudy_second.fileio;

import kr.saeildamil.andrordstudy.second.R;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

public class Ch25Main extends Activity {
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.ch25_main);
	}
	
	public void mOnClick(View v){
		Intent intent = new Intent();
		switch(v.getId()){
		case R.id.ch25_main_btn01:
			intent.setClass(this, FileIO.class);
			break;
		case R.id.ch25_main_btn02:
			intent.setClass(this, SDCard.class);
			break;
		case R.id.ch25_main_btn03:
			intent.setClass(this, FileExplorer.class);
			break;
		case R.id.ch25_main_btn04:
			intent.setClass(this, PrefFragMain.class);
			break;
		}
		startActivity(intent);
	}
}
